From: Richard M. Stallman Date: Fri, 11 Jun 1993 18:32:55 +0000 (+0000) Subject: Reinstate old -f option as an alias for -o for installed base uses. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~95398 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=3ed79319610c39e805ce690eec970212ec27391f;p=emacs.git Reinstate old -f option as an alias for -o for installed base uses. --- diff --git a/lib-src/etags.c b/lib-src/etags.c index 5d0389f911f..d0ba72be5e6 100644 --- a/lib-src/etags.c +++ b/lib-src/etags.c @@ -575,7 +575,7 @@ main (argc, argv) for (;;) { int opt; - opt = getopt_long (argc, argv, "aCdDo:StTi:BFuvxwVH", longopts, 0); + opt = getopt_long (argc, argv, "aCdDo:f:StTi:BFuvxwVH", longopts, 0); if (opt == EOF) break; @@ -600,11 +600,12 @@ main (argc, argv) case 'D': constantypedefs = 0; break; + case 'f': case 'o': if (outfile) { fprintf (stderr, - "%s: -o flag may only be given once\n", progname); + "%s: -%c flag may only be given once\n", progname, opt); goto usage; } outfile = optarg;